<%--
  Created by IntelliJ IDEA.
  User: 军大
  Date: 2021/1/19
  Time: 15:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/updateUserServlet" method="post" autocomplete="off">
    <table align="center">
        <tr>
            <td>用户id</td>
            <td>用户名</td>
            <td>用户密码</td>
            <td>姓名</td>
            <td>用户邮箱</td>
            <td>用户爱好</td>
        </tr>
        <tr>
            <td><input type="text" name="id" readonly="readonly" value="${requestScope.user.id}"></td>
            <td><input type="text" name="userName" value="${requestScope.user.userName}"></td>
            <td><input type="password" name="password" value="${requestScope.user.password}"></td>
            <td><input type="text" name="fullName" value="${requestScope.user.fullName}"></td>
            <td><input type="text" name="email" value="${requestScope.user.email}"></td>
            <td><input type="text" name="hobby" value="${requestScope.user.hobby}"></td>
        </tr>
        <tr>
            <td>地址</td>
            <td>所在国家</td>
            <td>所在城市</td>
            <td>密保问题</td>
            <td>密保答案</td>
            <td>联系电话</td>
            <td>确认修改</td>
            <td>返回</td>
        </tr>
        <tr>
            <td><input type="text" name="address" value="${requestScope.user.address}"></td>
            <td><input type="text" name="country" value="${requestScope.user.country}"></td>
            <td><input type="text" name="city" value="${requestScope.user.city}"></td>
            <td><input type="text" name="problem" value="${requestScope.user.problem}"></td>
            <td><input type="text" name="answers" value="${requestScope.user.answers}"></td>
            <td><input type="text" name="tel" value="${requestScope.user.tel}"></td>
            <td><input type="submit" value="确认修改"></td>
            <td><a href="#" onClick="javascript :history.go(-1);">返回上一层</a></td>
        </tr>
    </table>
</form>
</body>
</html>
